package backlet;

import util.ByteBuffer;

public interface Backlet {
	
	public static final int TYPE_CLIENT=1;
	
	public static final int TYPE_SERVER=2;
	
	public static final int TYPE_SERVER_SCENE=3;
	
	public void service(ByteBuffer data,int sessionId,long requestMill);
	
	public void init();
	
	public void destroy();
	
	public void pause();
	
	public void restart();
	
	public boolean isPause();
	
	public int type();

}
